
<% content_for :left do %>
  <%= link_to 'Song list', {:controller => "songlist"} %>
  <br/>
  <%= link_to 'Artist list', artists_path %>
  <br/>
  <%= link_to 'Artist: ' + @artist.name, artist_path(@artist) %>
<% end %>

<h1>New song</h1>

<h1>Artist: <%= @artist.name %></h1>

<% form_for([@artist, @song]) do |f| %>
  <%= f.error_messages %>

<p>
<%= f.label :title %><br />
<%= f.text_field :title %>
</p>
<p>
<%= f.label :lyrics %><br />
<%= f.text_area :lyrics %>
</p>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
